/*
 ============================================================================
 Name		: TestMeDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CTestMeDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "TestMeAppUi.h"
#include "TestMeDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CTestMeDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CTestMeDocument* CTestMeDocument::NewL(CEikApplication& aApp)
	{
	CTestMeDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CTestMeDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CTestMeDocument* CTestMeDocument::NewLC(CEikApplication& aApp)
	{
	CTestMeDocument* self = new (ELeave) CTestMeDocument(aApp);

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CTestMeDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CTestMeDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CTestMeDocument::CTestMeDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CTestMeDocument::CTestMeDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CTestMeDocument::~CTestMeDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CTestMeDocument::~CTestMeDocument()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CTestMeDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CTestMeDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new (ELeave) CTestMeAppUi;
	}

// End of File
